package com.ruoyi.applet.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 秒杀活动对象 spikes_info
 * 
 * @author ruoyi
 * @date 2024-12-21
 */
public class SpikesInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 秒杀活动详情唯一标识 */
    private Long spikesInfoId;

    /** 秒杀商品id */
    @Excel(name = "秒杀商品id")
    private Long spikesGoodId;

    /** 秒杀价格 */
    @Excel(name = "秒杀价格")
    private BigDecimal spikesPrice;

    /** 秒杀时间段 */
    @Excel(name = "秒杀时间段")
    private Long spikesTimeId;

    /** 秒杀数量 */
    @Excel(name = "秒杀数量")
    private Long spikesNumber;

    /** 价格整数 */
    @Excel(name = "价格整数")
    private Long spikesPriceNumber;

    /** 价格小数 */
    @Excel(name = "价格小数")
    private String spikesPriceDecimal;

    @Excel(name = "已售数量")
    private Long spikesSold;

    public SpikesInfo() {
    }

    public SpikesInfo( Long spikesInfoId, Long spikesGoodId, BigDecimal spikesPrice, Long spikesTimeId, Long spikesNumber, Long spikesPriceNumber, String spikesPriceDecimal, Long spikesSold) {
        this.spikesInfoId = spikesInfoId;
        this.spikesGoodId = spikesGoodId;
        this.spikesPrice = spikesPrice;
        this.spikesTimeId = spikesTimeId;
        this.spikesNumber = spikesNumber;
        this.spikesPriceNumber = spikesPriceNumber;
        this.spikesPriceDecimal = spikesPriceDecimal;
        this.spikesSold = spikesSold;
    }

    /**
     * 获取
     * @return spikesInfoId
     */
    public Long getSpikesInfoId() {
        return spikesInfoId;
    }

    /**
     * 设置
     * @param spikesInfoId
     */
    public void setSpikesInfoId(Long spikesInfoId) {
        this.spikesInfoId = spikesInfoId;
    }

    /**
     * 获取
     * @return spikesGoodId
     */
    public Long getSpikesGoodId() {
        return spikesGoodId;
    }

    /**
     * 设置
     * @param spikesGoodId
     */
    public void setSpikesGoodId(Long spikesGoodId) {
        this.spikesGoodId = spikesGoodId;
    }

    /**
     * 获取
     * @return spikesPrice
     */
    public BigDecimal getSpikesPrice() {
        return spikesPrice;
    }

    /**
     * 设置
     * @param spikesPrice
     */
    public void setSpikesPrice(BigDecimal spikesPrice) {
        this.spikesPrice = spikesPrice;
    }

    /**
     * 获取
     * @return spikesTimeId
     */
    public Long getSpikesTimeId() {
        return spikesTimeId;
    }

    /**
     * 设置
     * @param spikesTimeId
     */
    public void setSpikesTimeId(Long spikesTimeId) {
        this.spikesTimeId = spikesTimeId;
    }

    /**
     * 获取
     * @return spikesNumber
     */
    public Long getSpikesNumber() {
        return spikesNumber;
    }

    /**
     * 设置
     * @param spikesNumber
     */
    public void setSpikesNumber(Long spikesNumber) {
        this.spikesNumber = spikesNumber;
    }

    /**
     * 获取
     * @return spikesPriceNumber
     */
    public Long getSpikesPriceNumber() {
        return spikesPriceNumber;
    }

    /**
     * 设置
     * @param spikesPriceNumber
     */
    public void setSpikesPriceNumber(Long spikesPriceNumber) {
        this.spikesPriceNumber = spikesPriceNumber;
    }

    /**
     * 获取
     * @return spikesPriceDecimal
     */
    public String getSpikesPriceDecimal() {
        return spikesPriceDecimal;
    }

    /**
     * 设置
     * @param spikesPriceDecimal
     */
    public void setSpikesPriceDecimal(String spikesPriceDecimal) {
        this.spikesPriceDecimal = spikesPriceDecimal;
    }

    /**
     * 获取
     * @return spikesSold
     */
    public Long getSpikesSold() {
        return spikesSold;
    }

    /**
     * 设置
     * @param spikesSold
     */
    public void setSpikesSold(Long spikesSold) {
        this.spikesSold = spikesSold;
    }

    public String toString() {
        return "SpikesInfo{serialVersionUID = " + serialVersionUID + ", spikesInfoId = " + spikesInfoId + ", spikesGoodId = " + spikesGoodId + ", spikesPrice = " + spikesPrice + ", spikesTimeId = " + spikesTimeId + ", spikesNumber = " + spikesNumber + ", spikesPriceNumber = " + spikesPriceNumber + ", spikesPriceDecimal = " + spikesPriceDecimal + ", spikesSold = " + spikesSold + "}";
    }
}
